package com.hyts.bmsp.jfinal.beans;

/**
 * @ClassName: WebMappingBean
 * @Description: TODO
 * @author: libo
 * @date: 2017年1月12日 上午11:37:28
 */
public final class WebMappingBean<T> {

	/**
	 * @fieldName: tableName
	 * @fieldType: String
	 * @Description: 表名称
	 */
	private String tableName;
	
	/**
	 * @fieldName: primaryKey
	 * @fieldType: String
	 * @Description: 主键
	 */
	private String primaryKey;
	
	/**
	 * @fieldName: modelClass
	 * @fieldType: Class<T>
	 * @Description: 模块实体类
	 */
	private Class<T> modelClass;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public Class<T> getModelClass() {
		return modelClass;
	}

	public void setModelClass(Class<T> modelClass) {
		this.modelClass = modelClass;
	}

	public WebMappingBean(String tableName, String primaryKey,
			Class<T> modelClass) {
		super();
		this.tableName = tableName;
		this.primaryKey = primaryKey;
		this.modelClass = modelClass;
	}

	public WebMappingBean() {
		super();
	}
	
}
